package cn.b.training.baby_education_training.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: baby_education_training
 * @description
 * @author: wuying
 * @create: 2022-12-01 10:40
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BabyDto {
    Long id;
    /**
     * 关联用户
     */
    Long userId;
    private String babyName;
    private String babyGender;
    private String babyAvatar;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date babyBirth;

}
